package com.patterns.templateMethod.commonTemplateMethod;

/**
 * Created by Xiao Yiyun on 2017/4/19.
 */
public class Client {
    public static void main(String[] args) {
        AbstractClass a1 = new ConcreteClass1();
        AbstractClass a2 = new ConcreteClass2();
        a1.method1();
        a1.method2();
        a2.method1();
        a2.method2();
    }
}